﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Asplode.Renderer
{
    public class RendererExplosion
    {
        public Vector3 center { get; set; }
        public Model Model { get; set; }
        public Matrix[] boneTransforms { get; set; }
        public Matrix transform = Matrix.Identity;

        public DateTime startTime { get; set; }

        public RendererExplosion(Model model, Vector3 position, float magnitude, float maxRange)
        {
            startTime = DateTime.Now;
            Model = model;
            transform *= Matrix.CreateScale(maxRange, maxRange, maxRange);
            transform *= Matrix.CreateTranslation(position);
            boneTransforms = new Matrix[model.Bones.Count];
        }
    }
}
